import { createBrowserRouter } from 'react-router-dom';
import Layout from '@/pages/Layout';
import Login from '@/pages/Login'
const router =createBrowserRouter([//路由器
    {
        path:'/',
        element:<Layout/>

    },
    {
        path:'/login',
        element:<Login/>

    },

]) 
export default router